﻿package isoengine.main {	import bubbletools.core.async.XmlLoader;	import bubbletools.core.threading.Requesting;	public class User extends Requesting {		private static var userConfigXML:String = "Account/user_config.xml";		private var currentZone:String;		private var gridX:Number;		private var gridY:Number;		public function User() {			idName = "User";		}		public function getZone():String {			return (currentZone);		}		public function loadConfig():void {			trace("> loadConfig() : Beginning load of user parameters.");			var myLoader:XmlLoader = new XmlLoader();			setHandler(parseUserConfig);			myLoader.setParams(userConfigXML, this);			myLoader.startLoad();		}		public function parseUserConfig(data:XML):void {			trace("User Config XML Loaded.");			var zone:XMLList = data.child("zone");			currentZone = zone[0].attribute("name");			gridX = zone[0].attribute("x");			gridY = zone[0].attribute("y");		}	}}